<div class="mainpage">
    <div class="pull-right">
        <input type="button" class="btn btn-danger" name="act_delete" data-action="/contact/delete" data-must-confirm-msg="Do you want delete this ?" value="Delete">
    </div>
    <div class="clear"></div>
    <?php echo $this->grid->getView()->getHtml(); ?>
</div>